let ele = document.querySelector('.username')
let age = document.querySelector('.age')
let pwd = document.querySelector('.password')
let btnEle = document.querySelector('.button')
usernameEle.onblur = function(){
  let data= {username:ele.value,password:pwd.value,age:age.value}
  if(this.value){
    $.cookie('form',JSON.stringify(data))
  }
}
btnEle.onclick  = ()=>{
  $.removeCookie
}